import React, { Component, useState } from 'react';
import {SearchContainer} from './style.js'
import imgJiahao from '../../assets/images/加号.png'
import imgPlace from '../../assets/images/定位.png'
import imgSearch from '../../assets/images/搜索.png'

const SearchInput = (props) => {
    const { handleOnclick, SearchBoxhandleOnclick }= props;
    return (
        <SearchContainer onClick={SearchBoxhandleOnclick}>
            <div className="search_logo">
                <img src={imgSearch} alt="" />
            </div>
            <div className="search_input">温暖羊羔绒</div>
            <div className="search_button">搜索</div>
        </SearchContainer>
    )
}

export default SearchInput